import request from '@/utils/request'

// 查询职业锚心理测试结果列表
export function listCareeranchorTestResult(query) {
  return request({
    url: '/mentalTest/careeranchorTestResult/list',
    method: 'get',
    params: query
  })
}

// 查询职业锚心理测试结果详细
export function getCareeranchorTestResult(id) {
  return request({
    url: '/mentalTest/careeranchorTestResult/' + id,
    method: 'get'
  })
}

// 新增职业锚心理测试结果
export function addCareeranchorTestResult(data) {
  return request({
    url: '/mentalTest/careeranchorTestResult',
    method: 'post',
    data: data
  })
}

// 修改职业锚心理测试结果
export function updateCareeranchorTestResult(data) {
  return request({
    url: '/mentalTest/careeranchorTestResult',
    method: 'put',
    data: data
  })
}

// 删除职业锚心理测试结果
export function delCareeranchorTestResult(id) {
  return request({
    url: '/mentalTest/careeranchorTestResult/' + id,
    method: 'delete'
  })
}
